import React, { Component } from 'react'
import { Map } from 'immutable'
export default class App extends Component {
    info = Map({
        name: Map({
            a: 1,
            b: 2
        }),
        age: 18
    })
    componentDidMount() {
        console.log(this.info.toJS())
    }
    render() {
        //一个新的深拷贝 插件
        //和map一模一样  get set('name','value')  将map对象转化成普通对象  .toJs()
        return (
            <div>04_immutable</div>
        )
    }
}
